Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_BattMonitor: ESC: integrate consumed mah if not provided by ESC #27672

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

IamPete1
Copy link
Member

DroneCAN ESCs don't provide consumed mah, so ESC battery backend currently will not calculate it. Tested with the quad-can model and BATT2_MONITOR 9.

Master:
image

CurrTot is always 0.

This PR:
image

CurrTot is increasing. Slope is constant because the ESCs all report a constant current of 0.8 amps in SITL.

@tridge tridge merged commit 4564771 into ArduPilot:master Jul 30, 2024
93 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants